home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1990-06-03 | 1.6 KB | [ TEXT/KAHL]
open in: MacOS 8.1
extracted
|
Win98
extracted
|
DOS
extracted
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary ).
You can browse this item here: LEXERR.C
Confidence Program Detection Match Type Support
66%
dexvert
Compact Compressed (Unix) (archive/compact)
ext
Supported
10%
dexvert
MacBinary (archive/macBinary)
fallback
Supported
1%
dexvert
Text File (text/txt)
fallback
Supported
100%
file
MacBinary II, Sun Jun 3 16:12:46 1990, modified Sun Jun 3 16:12:46 1990, creator Think C, type ASCII, 1081 bytes "LEXERR.C" , at 0x4b9 382 bytes resource
default (weak)
99%
file
data
default
74%
TrID
Macintosh plain text (MacBinary)
default
25%
TrID
MacBinary 2
default (weak)
100%
siegfried
fmt/1762 MacBinary (II)
default
100%
lsar
MacBinary
default
id metadata key value macFileType [ TEXT] macFileCreator [ KAHL]
hex view +--------+-------------------------+-------------------------+--------+--------+ |00000000| 00 08 4c 45 58 45 52 52 | 2e 43 00 00 00 00 00 00 |..LEXERR|.C......| |00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......| |00000050| 00 00 00 00 00 04 39 00 | 00 01 7e a2 8f 1f be a2 |......9.|..~.....| |00000060| 8f 1f be 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 05 a2 00 00 |........|........| |00000080| 2f 2a 0d 20 20 48 45 41 | 44 45 52 3a 20 43 55 47 |/*. HEA|DER: CUG| |00000090| 20 20 20 20 6e 6e 6e 2e | 6e 6e 3b 0d 20 20 54 49 | nnn.|nn;. TI| |000000a0| 54 4c 45 3a 09 4c 45 58 | 20 2d 20 41 20 4c 65 78 |TLE:.LEX| - A Lex| |000000b0| 69 63 61 6c 20 41 6e 61 | 6c 79 73 65 72 20 47 65 |ical Ana|lyser Ge| |000000c0| 6e 65 72 61 74 6f 72 0d | 20 20 56 45 52 53 49 4f |nerator.| VERSIO| |000000d0| 4e 3a 20 20 20 20 20 20 | 20 31 2e 30 20 66 6f 72 |N: | 1.0 for| |000000e0| 20 49 42 4d 2d 50 43 0d | 20 20 44 41 54 45 3a 09 | IBM-PC.| DATE:.| |000000f0| 4a 61 6e 20 33 30 2c 20 | 31 39 38 35 0d 20 20 44 |Jan 30, |1985. D| |00000100| 45 53 43 52 49 50 54 49 | 4f 4e 3a 20 20 20 41 20 |ESCRIPTI|ON: A | |00000110| 4c 65 78 69 63 61 6c 20 | 41 6e 61 6c 79 73 65 72 |Lexical |Analyser| |00000120| 20 47 65 6e 65 72 61 74 | 6f 72 2e 20 46 72 6f 6d | Generat|or. From| |00000130| 20 55 4e 49 58 0d 20 20 | 4b 45 59 57 4f 52 44 53 | UNIX. |KEYWORDS| |00000140| 3a 20 20 20 20 20 20 4c | 65 78 69 63 61 6c 20 41 |: L|exical A| |00000150| 6e 61 6c 79 73 65 72 20 | 47 65 6e 65 72 61 74 6f |nalyser |Generato| |00000160| 72 20 59 41 43 43 20 43 | 20 50 52 45 50 0d 20 20 |r YACC C| PREP. | |00000170| 53 59 53 54 45 4d 3a 09 | 49 42 4d 2d 50 43 20 61 |SYSTEM:.|IBM-PC a| |00000180| 6e 64 20 43 6f 6d 70 61 | 74 69 61 62 6c 65 73 0d |nd Compa|tiables.| |00000190| 20 20 46 49 4c 45 4e 41 | 4d 45 3a 20 20 20 20 20 | FILENA|ME: | |000001a0| 20 4c 45 58 45 52 52 2e | 43 0d 20 20 57 41 52 4e | LEXERR.|C. WARN| |000001b0| 49 4e 47 53 3a 20 20 20 | 20 20 20 54 68 69 73 20 |INGS: | This | |000001c0| 70 72 6f 67 72 61 6d 20 | 69 73 20 6e 6f 74 20 66 |program |is not f| |000001d0| 6f 72 20 74 68 65 20 63 | 61 73 75 61 6c 20 75 73 |or the c|asual us| |000001e0| 65 72 2e 20 49 74 20 77 | 69 6c 6c 0d 09 62 65 20 |er. It w|ill..be | |000001f0| 75 73 65 66 75 6c 20 70 | 72 69 6d 61 72 69 6c 79 |useful p|rimarily| |00000200| 20 74 6f 20 65 78 70 65 | 72 74 20 64 65 76 65 6c | to expe|rt devel| |00000210| 6f 70 65 72 73 2e 0d 20 | 20 43 52 43 3a 09 4e 2f |opers.. | CRC:.N/| |00000220| 41 0d 20 20 53 45 45 2d | 41 4c 53 4f 3a 20 20 20 |A. SEE-|ALSO: | |00000230| 20 20 20 59 41 43 43 20 | 61 6e 64 20 50 52 45 50 | YACC |and PREP| |00000240| 0d 20 20 41 55 54 48 4f | 52 53 3a 20 20 20 20 20 |. AUTHO|RS: | |00000250| 20 20 53 63 6f 74 74 20 | 47 75 74 68 65 72 79 20 | Scott |Guthery | |00000260| 31 31 31 30 30 20 6c 65 | 61 66 77 6f 6f 64 20 6c |11100 le|afwood l| |00000270| 61 6e 65 20 41 75 73 74 | 69 6e 2c 20 54 58 20 37 |ane Aust|in, TX 7| |00000280| 38 37 35 30 0d 20 20 43 | 4f 4d 50 49 4c 45 52 53 |8750. C|OMPILERS| |00000290| 3a 20 20 20 20 20 44 45 | 53 4d 45 54 2d 43 0d 20 |: DE|SMET-C. | |000002a0| 20 52 45 46 45 52 45 4e | 43 45 53 3a 20 20 20 20 | REFEREN|CES: | |000002b0| 55 4e 49 58 20 53 79 73 | 74 65 6d 73 20 4d 61 6e |UNIX Sys|tems Man| |000002c0| 75 61 6c 73 0d 2a 2f 0d | 2f 2a 0d 20 2a 20 42 6f |uals.*/.|/*. * Bo| |000002d0| 62 20 44 65 6e 6e 79 20 | 32 38 2d 41 75 67 2d 38 |b Denny |28-Aug-8| |000002e0| 32 20 20 4d 6f 76 65 20 | 73 74 64 69 6f 20 64 65 |2 Move |stdio de| |000002f0| 70 65 6e 64 65 6e 63 69 | 65 73 20 74 6f 20 6c 65 |pendenci|es to le| |00000300| 78 65 72 72 28 29 2c 20 | 6c 65 78 67 65 74 28 29 |xerr(), |lexget()| |00000310| 2c 0d 20 2a 09 6c 65 78 | 65 63 68 28 29 20 61 6e |,. *.lex|ech() an| |00000320| 64 20 6d 61 70 63 68 28 | 29 2e 20 54 68 69 73 20 |d mapch(|). This | |00000330| 69 73 20 6f 6e 65 20 6f | 66 20 34 20 6d 6f 64 75 |is one o|f 4 modu| |00000340| 6c 65 73 0d 20 2a 09 69 | 6e 20 6c 65 78 6c 69 62 |les. *.i|n lexlib| |00000350| 20 77 68 69 63 68 20 64 | 65 70 65 6e 64 20 75 70 | which d|epend up| |00000360| 6f 6e 20 74 68 65 20 73 | 74 61 6e 64 61 72 64 20 |on the s|tandard | |00000370| 49 2f 4f 20 70 61 63 6b | 61 67 65 2e 0d 20 2a 20 |I/O pack|age.. * | |00000380| 53 63 6f 74 74 20 47 75 | 74 68 65 72 79 20 32 30 |Scott Gu|thery 20| |00000390| 2d 4e 6f 76 2d 38 33 20 | 20 41 64 61 70 74 20 66 |-Nov-83 | Adapt f| |000003a0| 6f 72 20 49 42 4d 20 50 | 43 20 26 20 44 65 53 6d |or IBM P|C & DeSm| |000003b0| 65 74 20 43 0d 20 2a 2f | 0d 23 64 65 66 69 6e 65 |et C. */|.#define| |000003c0| 09 53 54 44 49 4f 5f 4c | 45 58 4c 49 42 0d 0d 23 |.STDIO_L|EXLIB..#| |000003d0| 69 6e 63 6c 75 64 65 20 | 3c 73 74 64 69 6f 2e 68 |include |<stdio.h| |000003e0| 3e 0d 23 69 6e 63 6c 75 | 64 65 20 22 6c 65 78 2e |>.#inclu|de "lex.| |000003f0| 68 22 0d 0d 65 78 74 65 | 72 6e 20 53 48 4f 52 54 |h"..exte|rn SHORT| |00000400| 49 4e 54 20 79 79 6c 69 | 6e 65 3b 0d 0d 76 6f 69 |INT yyli|ne;..voi| |00000410| 64 0d 6c 65 78 65 72 72 | 6f 72 28 73 2c 20 61 72 |d.lexerr|or(s, ar| |00000420| 67 31 2c 20 61 72 67 32 | 2c 20 61 72 67 33 29 0d |g1, arg2|, arg3).| |00000430| 63 68 61 72 20 2a 73 3b | 0d 53 48 4f 52 54 49 4e |char *s;|.SHORTIN| |00000440| 54 20 61 72 67 31 2c 20 | 61 72 67 32 2c 20 61 72 |T arg1, |arg2, ar| |00000450| 67 33 3b 0d 7b 0d 09 69 | 66 20 28 79 79 6c 69 6e |g3;.{..i|f (yylin| |00000460| 65 29 0d 09 09 66 70 72 | 69 6e 74 66 28 73 74 64 |e)...fpr|intf(std| |00000470| 65 72 72 2c 20 28 63 68 | 61 72 20 2a 29 22 5c 6e |err, (ch|ar *)"\n| |00000480| 25 64 3a 20 22 2c 20 79 | 79 6c 69 6e 65 29 3b 0d |%d: ", y|yline);.| |00000490| 09 66 70 72 69 6e 74 66 | 28 73 74 64 65 72 72 2c |.fprintf|(stderr,| |000004a0| 20 73 2c 20 61 72 67 31 | 2c 20 61 72 67 32 2c 20 | s, arg1|, arg2, | |000004b0| 61 72 67 33 29 3b 0d 7d | 0d 00 00 00 00 00 00 00 |arg3);.}|........| |000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000500| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2| |00000510| 20 20 20 20 6e 6e 6e 2e | 6e 6e 3b 0d 20 20 54 49 | nnn.|nn;. TI| |00000520| 54 4c 45 3a 09 4c 45 58 | 20 2d 20 41 20 4c 65 78 |TLE:.LEX| - A Lex| |00000530| 08 4c 45 58 45 52 52 2e | 43 2e 02 00 00 00 54 45 |.LEXERR.|C.....TE| |00000540| 4d 50 44 53 45 41 00 00 | 00 00 00 00 00 00 00 00 |MPDSEA..|........| |00000550| 00 00 54 45 4d 50 44 53 | 45 41 00 00 00 00 00 00 |..TEMPDS|EA......| |00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000570| 00 00 a5 3c 64 03 00 00 | 04 39 00 00 01 7e 20 44 |...<d...|.9...~ D| |00000580| 45 53 43 52 49 50 54 49 | 4f 4e 3a 20 20 20 41 20 |ESCRIPTI|ON: A | |00000590| 4c 65 78 69 63 61 6c 20 | 41 6e 61 6c 79 73 65 72 |Lexical |Analyser| |000005a0| 20 47 65 6e 65 72 61 74 | 6f 72 2e 20 46 72 6f 6d | Generat|or. From| |000005b0| 20 55 4e 49 58 0d 20 20 | 4b 45 59 57 4f 52 44 53 | UNIX. |KEYWORDS| |000005c0| 3a 20 20 20 20 20 20 4c | 65 78 69 63 61 6c 20 41 |: L|exical A| |000005d0| 6e 61 6c 79 73 65 72 20 | 47 65 6e 65 72 61 74 6f |nalyser |Generato| |000005e0| 72 20 59 41 43 43 20 43 | 20 50 52 45 50 0d 20 20 |r YACC C| PREP. | |000005f0| 53 59 53 54 45 4d 3a 09 | 49 42 4d 2d 50 43 20 61 |SYSTEM:.|IBM-PC a| |00000600| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....| |00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000620| 00 00 00 00 00 00 00 06 | 00 04 00 3c 00 24 01 53 |........|...<.$.S| |00000630| 01 bd 00 3c 00 24 01 53 | 01 bd a2 24 66 ec 00 00 |...<.$.S|...$f...| |00000640| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 01 00 |........|........| |00000650| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 19 47 f2 |...L...L|...2..G.| |00000660| 0d 3a 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.:.....2|..MPSR..| |00000670| 00 0a 03 ed ff ff 00 00 | 00 00 00 19 47 ae 00 00 |........|....G...| +--------+-------------------------+-------------------------+--------+--------+